package cn.iocoder.yudao.module.shop.controller.admin;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wgx
 * @description
 * @date 2022/4/25
 */
@RestController
@RequestMapping("")
@Slf4j
public class CheckDeathController {
  /**
   * 简单针对运维探针使用,检测程序是否存活
   *
   * @return 字符串
   */
  @GetMapping("checkDeath")
  public String checkDeath() {
    return "I am Alive";
  }
}
